package com.org.engine.baseengine.service;

import com.org.engine.baseengine.dao.ActivityRuleMapper;
import com.org.engine.baseengine.domain.ActivityRule;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lizy
 */
@Service
public class TestService {

    @Autowired
    ActivityRuleMapper activityRuleMapper;

    public List<ActivityRule> selectAll() {
        return activityRuleMapper.selectAll();
    }

    public ActivityRule select1() {
        return activityRuleMapper.selectByPrimaryKey(1);
    }

}
